package com.itheima_6;

public class Demo {

    public static void main(String[] args) {
        Girl girl=new Girl();
        girl.setName("小丝同学");
        girl.start();

        Boy boy=new Boy();
        boy.setName("小云同学");
        boy.start();
    }
}
